package com.imu.purse.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 忘记密码表单
 *
 * @author zzy
 *  sunhongwei@gmail.com
 * @since 3.1.0 2018-03-21
 */
@ApiModel(value = "忘记密码")
public class ForgetPwdForm 
{
	
    @ApiModelProperty(value = "手机号")
    @NotBlank(message="手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String pwd;
    
    @ApiModelProperty(value = "手机验证码")
    @NotBlank(message="手机验证码不能为空或者空格")
    private String code;
    
    @ApiModelProperty(value = "图片验证码")
    @NotBlank(message="图片验证码不能为空")
    private String codes;
    
    @ApiModelProperty(value = "手机验证码类型")
    private String type;

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

    
    
}
